/*
 * @Author: 吴竹叶 2107206923@qq.com
 * @Date: 2023-10-27 15:15:33
 * @LastEditors: 吴竹叶 2107206923@qq.com
 * @LastEditTime: 2023-10-30 10:53:55
 * @FilePath: \BZ_JT_AnQuanHuanBaoGuanLiApp\src\api\environment.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'
import qs from 'qs'
// -------------------------------------------------- 环保业务 -------------------------------------------------- //

/**
 * 固废列表
 *
 * @export
 * @params {*}
 * @return {*}
 */
export const WasteStandingList = (data) => {
  return request({
    url: '/admin/hb/HbWasteManagement/WasteStandingList',
    method: 'POST',
    data: qs.stringify(data)
  })
}

/**
 * 排污许可证列表
 *
 * @export
 * @params {*}
 * @return {*}
 */
export const HbPermitList = (data) => {
  return request({
    url: '/admin/hb/HbdeviceManagement/HbPermitList',
    method: 'POST',
    data: qs.stringify(data)
  })
}
/**
 * 监测信息列表
 *
 * @export
 * @params {*}
 * @return {*}
 */
export const hbPermitDataInfoList = (data) => {
  return request({
    url: '/admin/hb/HbdeviceManagement/PermitDataInfoList',
    method: 'POST',
    data: qs.stringify(data)
  })
}
/**
 * 监测方案列表
 *
 * @export
 * @params {*}
 * @return {*}
 */
export const HbPermitOptionList = (data) => {
  return request({
    url: '/admin/hb/HbdeviceManagement/HbPermitOptionList',
    method: 'POST',
    data: qs.stringify(data)
  })
}
/**
 * 执行报告列表
 *
 * @export
 * @params {*}
 * @return {*}
 */
export const HbPermitExecutiveReportList = (data) => {
  return request({
    url: '/admin/hb/HbdeviceManagement/PermitExecutiveReportList',
    method: 'POST',
    data: qs.stringify(data)
  })
}

// -------------------------------------------------- 环境风险点 -------------------------------------------------- //

/**
 * 环境风险点列表
 *
 * @export
 * @params {*}
 * @return {*}
 */
export const HbGetCompanyRiskList = (data) => {
  return request({
    url: '/admin/hb/HbCompanyRisk/getCompanyRiskList',
    method: 'POST',
    data: qs.stringify(data)
  })
}
